package com.fare.taluo.vo.core;

import java.util.Date;

import javax.persistence.Column;


public class FreightPriceAnalyseAlertConfigVo {
	private Long id;
	
	/**
	 * 创建人ID
	 */
	private Long creator;
	/**
	 * 创建人名称
	 */
	private String creatorName;
	/**
	 * 创建时间,默认当前时间
	 */
	private Date createTime = new Date();
	/**
	 * 更新人ID
	 */
	private Long updator;
	/**
	 * 更新人名称
	 */
	private String updatorName;
	/**
	 * 最后更新时间,默认当前时间
	 */
	private Date updateTime = new Date();
	/**
	 * 逻辑删除标识
	 */
	protected int flgDeleted = 0;
	/**
	 * 出发城市代码
	 */
	private String fromCity;
	/**
	 * 到达城市代码
	 */
	private String toCity;
	/**
	 * 出发城市名称
	 */
	private String fromCityName;
	/**
	 * 到达城市名称
	 */
	private String toCityName;
	/**
	 * 预警开始时间
	 */
	private Date startTime;
	/**
	 * 预警结束时间
	 */
	private Date endTime;
	/**
	 * 差价比,正数为高，负数为低，取百分比值
	 */
	private double spreadThan = 0L;
	/**
	 * 预警方式数字，分1、邮件、2、短信，3、可多选
	 * @see FreightPriceAnalyseAlertConfig.CONFIG_ALERT_WAY_EMAIL
	 * @see FreightPriceAnalyseAlertConfig.CONFIG_ALERT_WAY_SMS
	 */
	private int alertWay;
	/**
	 * 预警方式名字，分1、邮件、2、短信，3、可多选
	 * @see FreightPriceAnalyseAlertConfig.CONFIG_ALERT_WAY_EMAIL
	 * @see FreightPriceAnalyseAlertConfig.CONFIG_ALERT_WAY_SMS
	 */
	private String alertWayName;
	/**
	 * 预警频率（单位：小时）,默认半天(12小时)
	 */
	private int alertFrequency = 12;
	/**
	 * 未来天数
	 */
	private int futureDays;
	/**
	 *触发条件
	 */
	private int triggerCondition;
	/**
	 * 航空公司名
	 */
	private String airCompany;
	/**
	 * 订票类型
	 * <p>值参考：CONFIG_BOOKING_TYPE_SINGLE,CONFIG_BOOKING_TYPE_DOUBLE
	 */
	private int bookingType;
	
	private String startTimeString;
	private String endTimeString;
    
	/**
	 * 
	 */
	private String alertType;
	
	/**
	 * 航空公司的carrierkey
	 */
	private String carrierKey;
	
	/**
	 * 航班起飞日期
	 */
	private Date flightDate;
	
	/**
	 * 舱位等级
	 */
	private String cabinLevel;
	
	/**
	 * 对比渠道
	 */
	private String contrastSource;
	
	/**
	 * 对比渠道的key 两位
	 */
	private String contrastSourceKey;
	
	/**
	 * 对比航空公司
	 */
	private String contrastAircompany;
	/**
	 * 对比航空公司的carrierkey 两位
	 */
	private String contrastAircompanyKey;
	/**
	 * 对比航班号
	 */
	private String contrastFlightNo;
	
	/**
	 * 预警描述
	 */
	private String alertDescription;
	
	/**
	 * 价差比
	 */
	private int triggerConditionSpread;
	
	private String flightNo;
	
	private String contrastCabinLevel;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getCreator() {
		return creator;
	}
	public void setCreator(Long creator) {
		this.creator = creator;
	}
	public String getCreatorName() {
		return creatorName;
	}
	public void setCreatorName(String creatorName) {
		this.creatorName = creatorName;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Long getUpdator() {
		return updator;
	}
	public void setUpdator(Long updator) {
		this.updator = updator;
	}
	public String getUpdatorName() {
		return updatorName;
	}
	public void setUpdatorName(String updatorName) {
		this.updatorName = updatorName;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public int getFlgDeleted() {
		return flgDeleted;
	}
	public void setFlgDeleted(int flgDeleted) {
		this.flgDeleted = flgDeleted;
	}
	public String getFromCity() {
		return fromCity;
	}
	public void setFromCity(String fromCity) {
		this.fromCity = fromCity;
	}
	public String getToCity() {
		return toCity;
	}
	public void setToCity(String toCity) {
		this.toCity = toCity;
	}
	public String getFromCityName() {
		return fromCityName;
	}
	public void setFromCityName(String fromCityName) {
		this.fromCityName = fromCityName;
	}
	public String getToCityName() {
		return toCityName;
	}
	public void setToCityName(String toCityName) {
		this.toCityName = toCityName;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public double getSpreadThan() {
		return spreadThan;
	}
	public void setSpreadThan(double spreadThan) {
		this.spreadThan = spreadThan;
	}
	public int getAlertFrequency() {
		return alertFrequency;
	}
	public void setAlertFrequency(int alertFrequency) {
		this.alertFrequency = alertFrequency;
	}
	public int getBookingType() {
		return bookingType;
	}
	public void setBookingType(int bookingType) {
		this.bookingType = bookingType;
	}
	public int getFutureDays() {
		return futureDays;
	}
	public void setFutureDays(int futureDays) {
		this.futureDays = futureDays;
	}
	public int getTriggerCondition() {
		return triggerCondition;
	}
	public void setTriggerCondition(int triggerCondition) {
		this.triggerCondition = triggerCondition;
	}
	public String getAirCompany() {
		return airCompany;
	}
	public void setAirCompany(String airCompany) {
		this.airCompany = airCompany;
	}
	public int getAlertWay() {
		return alertWay;
	}
	public void setAlertWay(int alertWay) {
		this.alertWay = alertWay;
	}
	public String getAlertWayName() {
		return alertWayName;
	}
	public void setAlertWayName(String alertWayName) {
		this.alertWayName = alertWayName;
	}
	public String getStartTimeString() {
		return startTimeString;
	}
	public void setStartTimeString(String startTimeString) {
		this.startTimeString = startTimeString;
	}
	public String getEndTimeString() {
		return endTimeString;
	}
	public void setEndTimeString(String endTimeString) {
		this.endTimeString = endTimeString;
	}
	
	public String getAlertType() {
		return alertType;
	}
	public void setAlertType(String alertType) {
		this.alertType = alertType;
	}
	public String getCarrierKey() {
		return carrierKey;
	}
	public void setCarrierKey(String carrierKey) {
		this.carrierKey = carrierKey;
	}
	public Date getFlightDate() {
		return flightDate;
	}
	public void setFlightDate(Date flightDate) {
		this.flightDate = flightDate;
	}
	
	public String getContrastSource() {
		return contrastSource;
	}
	public void setContrastSource(String contrastSource) {
		this.contrastSource = contrastSource;
	}
	public String getContrastSourceKey() {
		return contrastSourceKey;
	}
	public void setContrastSourceKey(String contrastSourceKey) {
		this.contrastSourceKey = contrastSourceKey;
	}
	public String getContrastAircompany() {
		return contrastAircompany;
	}
	public void setContrastAircompany(String contrastAircompany) {
		this.contrastAircompany = contrastAircompany;
	}
	public String getContrastAircompanyKey() {
		return contrastAircompanyKey;
	}
	public void setContrastAircompanyKey(String contrastAircompanyKey) {
		this.contrastAircompanyKey = contrastAircompanyKey;
	}
	public String getContrastFlightNo() {
		return contrastFlightNo;
	}
	public void setContrastFlightNo(String contrastFlightNo) {
		this.contrastFlightNo = contrastFlightNo;
	}
	public String getAlertDescription() {
		return alertDescription;
	}
	public void setAlertDescription(String alertDescription) {
		this.alertDescription = alertDescription;
	}
	
	public String getCabinLevel() {
		return cabinLevel;
	}
	public void setCabinLevel(String cabinLevel) {
		this.cabinLevel = cabinLevel;
	}
	public int getTriggerConditionSpread() {
		return triggerConditionSpread;
	}
	public void setTriggerConditionSpread(int triggerConditionSpread) {
		this.triggerConditionSpread = triggerConditionSpread;
	}
	public String getFlightNo() {
		return flightNo;
	}
	public void setFlightNo(String flightNo) {
		this.flightNo = flightNo;
	}
	public String getContrastCabinLevel() {
		return contrastCabinLevel;
	}
	public void setContrastCabinLevel(String contrastCabinLevel) {
		this.contrastCabinLevel = contrastCabinLevel;
	}
	
	
}